﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.NemoBlog.Business.View {
    public interface IPostView {

        int PostId { get; set; }
        bool Visible { get; set; }
        string PostTitle { get; set; }
        string ShortTitle { get; set; }
        string ShortDescription { get; set; }
        string PostContent { get; set; }
        string PublishedDateText { get; set; }
        string IsoPublishedDateText { get; set; }
        string Publisher { get; set; }
        bool SimilarPostsVisible { get; set; }

        void PopulateTags(NemoBlogTag[] tags);
        void PopulateSimilarPosts(NemoBlogPost[] similarPosts);
        void SetValidUrl(string postUrl);
        void SetRemoveLink(int postId);
        void SetPublishLink(int postId);
        void SetEditLink(NemoBlogPost post);

        void ShowPostLists(int placeId);
        void Refresh();

        event EventHandler Remove;
        event EventHandler Publish;

    }
}
